<?php
/**
 * Nadëb (Makú-Nadëb)
 * 
 * @author     Mateus Martins <mateusweb@gmail.com>
 * @copyright  Copyright 2010 mateusweb.com.br
 * @license    http://www.gnu.org/licenses/gpl.html | GPL
 * @package    Nadeb
 * @version    1.0.0
 */


/**
 * Class Nadeb_Grid
 * Instancia o data Grid
 * 
 * @category   Nadeb
 * @package    Nadeb_Grid
 * @copyright  Copyright 2010 mateusweb.com.br
 * @license    http://www.gnu.org/licenses/gpl.html | GPL
 */
class Nadeb_Grid
{
	/**
	 * Metodo estatico que incia a instancia do data grid
	 * e retorna o grid montado
	 * 
	 * @param array $_params
	 * @return string 
	 */
	public static function get_grid($_params)
	{
		$table = new Nadeb_Report_Table($_params);
		$table->create_table();
		
		return $table->get();
	}

}